
import http from '../utils/http'
/* 
*公司相关接口
*/
//公司列表
export function companyList(params) {
	return http.get('companyList', params)
}
//保存公司信息
export function saveCompany(params) {
	return http.post('saveCompany', params)
}
//重置管理员密码
export function pwdCompanyAdmin(params) {
	return http.post('pwdCompanyAdmin', params)
}
/* 
*区域相关接口
*/
//区域列表
export function areaList(params) {
	return http.get('areaList', params)
}
//保存区域
export function saveArea(params) {
	return http.post('saveArea', params)
}
//区域数据
export function areaData(params) {
	return http.get('areaData', params)
}

// 海报相关接口
//添加海报
export function addPoster(params) {
	return http.post('addPoster', params)
}
//编辑海报
export function editPoster(params) {
	return http.post('editPoster', params)
}
//设置状态
export function setPosterStatus(params) {
	return http.post('setPosterStatus', params)
}
//获取海报详情
export function posterDetail(params) {
	return http.get('posterDetail', params)
}
//海报列表
export function getPosterList(params) {
	return http.get('getPosterList', params)
}
//删除海报
export function deletePoster(params) {
	return http.get('deletePoster', params)
}

// 轮播相关接口
//添加轮播
export function addSlider(params) {
	return http.post('addSlider', params)
}
//编辑轮播
export function editSlider(params) {
	return http.post('editSlider', params)
}
//设置状态
export function setSliderStatus(params) {
	return http.post('setSliderStatus', params)
}
//获取轮播详情
export function sliderDetail(params) {
	return http.get('sliderDetail', params)
}
//轮播列表
export function getSliderList(params) {
	return http.get('getSliderList', params)
}
//删除轮播
export function deleteSlider(params) {
	return http.get('deleteSlider', params)
}

// 橱窗商品相关接口
//添加橱窗
export function addRecommend(params) {
	return http.post('addRecommend', params)
}
//编辑橱窗
export function editRecommend(params) {
	return http.post('editRecommend', params)
}
//设置状态
export function setRecommendStatus(params) {
	return http.post('setRecommendStatus', params)
}
//获取橱窗详情
export function recommendDetail(params) {
	return http.get('recommendDetail', params)
}
//橱窗列表
export function getRecommendList(params) {
	return http.get('getRecommendList', params)
}
//删除橱窗
export function deleteRecommend(params) {
	return http.get('deleteRecommend', params)
}

// 账户配置
//橱窗列表
export function saveComSetting(params) {
	return http.post('saveComSetting', params)
}
//账户详情
export function systemComSetting(params) {
	return http.get('systemComSetting', params)
}
